package ifi.p17.thai_cisse;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import static junit.framework.Assert.assertEquals;

/**
 * Created with IntelliJ IDEA.
 * User: thainh
 * Date: 12/10/12
 * Time: 1:16 PM
 * To change this template use File | Settings | File Templates.
 */
public class PersonneTest {
    Personne p = new Personne("Thai","0974939933","L'IFI 42 Ta Quang Buu","Ha Dong");

    @Test
    public void testGetNom() throws Exception {
        assertEquals("Thai",p.getNom());
    }

    @Test
    public void testGetNumeroDeTelephone() throws Exception {
        assertEquals("0974939933",p.getNumeroDeTelephone());
    }

    @Test
    public void testGetAdresseDeTraivail() throws Exception {
        assertEquals("L'IFI 42 Ta Quang Buu",p.getAdresseDeTraivail());
    }

    @Test
    public void testGetAdresseDeDomicile() throws Exception {
        assertEquals("Ha Dong",p.getAdresseDeDomicile());
    }
}
